package com.yunmang.entity.ParameterEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/5/26.
 */
public class EditBatchBean {

    /**
     * sendDate : 2017-05-26
     * id : 187
     * note : vv
     * deleting : [1,2]
     * adding : [3,4]
     * car : {"id":1,"plate":"a","driverName":"bb","driverPhone":"abc"}
     * stevedoreCost : 10
     * carCostByShipper : 10
     * carCostByConsignee : 300
     */

    private String sendDate;
    private int id;
    private String note;
    /**
     * id : 1
     * plate : a
     * driverName : bb
     * driverPhone : abc
     */
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    private CarBean car;
    private double stevedoreCost;
    private double carCostByShipper;
    private double carCostByConsignee;
    private List<Integer> deleting;
    private List<Integer> adding;

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public CarBean getCar() {
        return car;
    }

    public void setCar(CarBean car) {
        this.car = car;
    }

    public double getStevedoreCost() {
        return stevedoreCost;
    }

    public void setStevedoreCost(double stevedoreCost) {
        this.stevedoreCost = stevedoreCost;
    }

    public double getCarCostByShipper() {
        return carCostByShipper;
    }

    public void setCarCostByShipper(double carCostByShipper) {
        this.carCostByShipper = carCostByShipper;
    }

    public double getCarCostByConsignee() {
        return carCostByConsignee;
    }

    public void setCarCostByConsignee(double carCostByConsignee) {
        this.carCostByConsignee = carCostByConsignee;
    }

    public List<Integer> getDeleting() {
        return deleting;
    }

    public void setDeleting(List<Integer> deleting) {
        this.deleting = deleting;
    }

    public List<Integer> getAdding() {
        return adding;
    }

    public void setAdding(List<Integer> adding) {
        this.adding = adding;
    }



    public static class CarBean {
        private int id;
        private String plate;
        private String driverName;
        private String driverPhone;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPlate() {
            return plate;
        }

        public void setPlate(String plate) {
            this.plate = plate;
        }

        public String getDriverName() {
            return driverName;
        }

        public void setDriverName(String driverName) {
            this.driverName = driverName;
        }

        public String getDriverPhone() {
            return driverPhone;
        }

        public void setDriverPhone(String driverPhone) {
            this.driverPhone = driverPhone;
        }
    }
}
